package com.ls.controller.benefit.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName EditBenefitModel
 * @Description 编辑权益model
 * @Author pengyu
 * @Date 2024/6/27 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EditBenefitModel {
    /** 权益id */
    @NotNull(message = "id不得为空")
    private Long benefitId;
    @NotBlank(message = "权益名称不得为空")
    private String benefitName;
    @NotBlank(message = "会员权益内容不得为空")
    private String memberContent;
    @NotBlank(message = "非会员权益内容不得为空")
    private String commonContent;
}
